package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//订单的pojo类
@Data
@AllArgsConstructor
@NoArgsConstructor
//不实现序列化也是可以的
public class Order {
    private String id;
    private User user;
    private List<Item> items;

}
